package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author LXB
 * @Date 2024/1/1 20:49
 * @Description
 **/
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("invite_fireworks_record")
@ApiModel(value = "InviteFireworksRecord对象", description = "邀请和燃放烟花记录表")
public class InviteFireworksRecord implements Serializable {
    private static final long serialVersionUID = -5696065664079883358L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private String nuserId;

    /**
     * 是否燃放烟花
     */
    private Boolean setOffFireworks;

    /**
     * 是否邀请新人
     */
    private Boolean inviteNewPeople;

    /**
     * 是否领过红包
     */
    private Boolean redPacketReceived;

    /**
     * 首次燃放烟花
     */
    private Boolean firstSetOff;

    /**
     * 是否已经派送过红包
     */
    private Boolean sendRedPacket;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
